<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>qqqqqqqqqqq</h1>
<button id="btgo" onclick="goto()">跳转</button>

<script type="text/javascript">
    function goto() {
        window.location.href = "native://backtomims";
        alert("wwww")

    }
</script>
</body>
</html>